﻿<phone:PhoneApplicationPage 
    x:Class="OnlineMovies.Views.VideoGamesDetail"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:controls="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    xmlns:LART="clr-namespace:OnlineVideos"
    mc:Ignorable="d" d:DesignWidth="480" d:DesignHeight="768"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait"  Orientation="Portrait"
    shell:SystemTray.IsVisible="True">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="MainGrid">
        <Grid.RowDefinitions   >
            <RowDefinition Height="*"/>
            <RowDefinition Height="80"/>
        </Grid.RowDefinitions>
        <Grid x:Name="LayoutRoot" Grid.Row="0" Background="Transparent">
            <!--Pivot Control-->

          <phone:Pivot x:Name="pvtMainDetails" >
            <phone:Pivot.Title>
                    <StackPanel Orientation="Horizontal" Margin="0,0,0,0">
                        <Image Style="{StaticResource DetailPagePivotTitleImage}" x:Name="imgTitle" MouseLeftButtonDown="imgTitle_MouseEnter"/>
                        <TextBlock x:Name="tblkVideosTitle" Style="{StaticResource DetailPagePivotTitle}"/>
                    </StackPanel>
                </phone:Pivot.Title>
<!--Pivot item one-->
                <!--Pivot item one-->
            <phone:PivotItem x:Name="pvtitmDetail" Header="detail">
                    <Grid x:Name="DetailGrid">
                        <LART:ShowDescription x:Name="showDesc" />
                    </Grid>
                </phone:PivotItem>

            <phone:PivotItem  Margin="0,-30,0,0" x:Name="cheatpivot" Header="cheats" Foreground="White" >
                    <Grid x:Name="cheatGrid">
                        <LART:ShowCheatCode x:Name="showchetcode" />
                    </Grid>
                </phone:PivotItem>
                <!--Pivot item two-->
            <phone:PivotItem x:Name="pvtitmSongs" Header="videos" Foreground="White">
                    <Grid  x:Name="showVideogrid">
                        <LART:ShowVideos x:Name="VideosList"/>
                    </Grid>
                </phone:PivotItem>

                
<!--Pivot item Four-->
            <phone:PivotItem x:Name="pvtitmWeapons" Header="weapons" Foreground="White">
                    <Grid  x:Name="showWeapongrid">
                        <LART:GameWeaponsDisplay x:Name="WeaponsList"/>
                    </Grid>
                </phone:PivotItem>

<!--Pivot item Five-->
            <phone:PivotItem x:Name="pvtitmVehicle" Header="vehicles" Foreground="White">
                    <Grid  x:Name="showVehiclegrid">
                        <LART:GameVehicleDisplay x:Name="VehicleList"/>
                    </Grid>
                </phone:PivotItem>
<!--Pivot item Six-->
            <phone:PivotItem x:Name="pvtitmCast" Header="characters" Foreground="White" >
                    <Grid x:Name="castgrid">
                        <LART:ShowCast/>
                    </Grid>
                </phone:PivotItem>
               
<!--Pivot item seven-->
            <phone:PivotItem x:Name="pvtitmmisions" Header="missions" Foreground="White" >
                    <Grid x:Name="missionsgrid">
                        <LART:GameMissionsDisplay/>
                    </Grid>
                </phone:PivotItem>
                

<!--Pivot item eight-->
            <phone:PivotItem x:Name="pvtitmachievements" Header="achievements" Foreground="White" >
                    <Grid x:Name="achievementgrid">
                        <LART:VideoGameAchievements/>
                    </Grid>
                </phone:PivotItem>

<!--Pivot item nine-->
            <phone:PivotItem x:Name="pvtitmacontrol" Header="controls" Foreground="White" >
                    <Grid x:Name="controlsgrid">
                        <LART:VideoGameControls/>
                    </Grid>
                </phone:PivotItem>
  <!--Pivot item ten-->
            <phone:PivotItem  Margin="0,-30,0,0" x:Name="gamepivot" Header="game" Foreground="White" >
                    <Grid x:Name="GameGrid">
                        <StackPanel Name="gamestk" >
                            <LART:MemoryGame x:Name="game" />
                        </StackPanel>
                    </Grid>
                </phone:PivotItem>
            </phone:Pivot>
            <toolkit:PerformanceProgressBar
            VerticalAlignment="Top"
            x:Name="performanceProgressBar" Foreground="Red"/>
        </Grid>
        <StackPanel Name="adstaSongs" Grid.Row="1" Orientation="Vertical"  Margin="-4,10,0,0">
        </StackPanel>
    </Grid>

</phone:PhoneApplicationPage>